package com.gpj.learn.springcloud.feign;

import com.gpj.learn.springcloud.common.config.ExtSpringMVC;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Import;

@Import(ExtSpringMVC.class)
@EnableFeignClients(basePackages = {
		"com.gpj.learn.springcloud.api"
})
@SpringBootApplication(scanBasePackages = {
		"com.gpj.learn.springcloud.api",
		"com.gpj.learn.springcloud.feign"
})
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
